package com.dubbo2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

import lombok.SneakyThrows;

@SpringBootApplication
@ImportResource("classpath:config/spring-dubbo.xml")

public class ApplicationProvider {

    @SneakyThrows
    public static void main(String[] args) {
        SpringApplication.run(ApplicationProvider.class, args);
        System.in.read();
    }
}
